﻿<UserControl x:Class="DSTMEETING.Win.App.Views.MainView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:jiz="clr-namespace:JizCode.WPF;assembly=JizCodeWPF"
             mc:Ignorable="d" 
             d:DesignHeight="600" d:DesignWidth="800">
    <Grid>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <Grid Grid.Row="0" Background="#e7e7e7">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="auto"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="auto"/>
                </Grid.ColumnDefinitions>
                <Label Content="Here Is Header Text" Grid.Column="0" Grid.ColumnSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="20" Foreground="{StaticResource color-title}" Name="title"/>
                <StackPanel Orientation="Horizontal"  HorizontalAlignment="Right" Grid.Column="0" Margin="10,10,0,10">
                    <Button Content="Back" Name="btnBack" Click="btnBack_Click" Style="{StaticResource btn-danger}"/>
                </StackPanel>
                <StackPanel Orientation="Horizontal"  HorizontalAlignment="Right" Grid.Column="2" Margin="0,10,10,10" Name="toolbar">
                    <!--<Button Content="Join" Name="ctlJoin" Click="ctlJoin_Click" Style="{StaticResource btn-primary}"/>-->
                </StackPanel>
            </Grid>
            <jiz:ActivityHost Name="ctlFrame" Grid.Row="1"/>
        </Grid>
        <Grid Name="popContainer" Background="#11000000">
            <Border BorderBrush="DarkBlue" BorderThickness="1" CornerRadius="4" Background="#fff" HorizontalAlignment="Center" VerticalAlignment="Center">
            <StackPanel>
                <Border BorderBrush="DarkBlue" BorderThickness="0,0,0,1" HorizontalAlignment="Stretch" Padding="5,0,5,0">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="auto"/>
                            </Grid.ColumnDefinitions>
                            <Label Content="title" Name="popHeader" FontSize="16" Grid.Column="0"/>
                            <Button Content="X" Grid.Column="1" Width="24" Height="24" Name="btnClosePopup" Click="btnClosePopup_Click"/>
                        </Grid>
                </Border>
                <Border BorderBrush="DarkBlue" Padding="10,10,10,20" Name="popBorder">
                </Border>
                </StackPanel>
            </Border>
        </Grid>
    </Grid>
</UserControl>
